package com.ruoyi.system.service;

import com.ruoyi.system.domain.BsQiye;
import com.ruoyi.system.domain.BsQiyeBusinessData;
import com.ruoyi.system.domain.ro.BsQiyeBusinessDataEditRO;
import com.ruoyi.system.domain.ro.BsQiyeBusinessDataRO;

import java.util.Collection;
import java.util.List;

/**
 * 企业经营数据Service接口
 *
 * @author ruoyi
 * @date 2023-11-23
 */
public interface IBsQiyeBusinessDataService {

    void initTodayUnReportData(Long qiYeId, String date);

    void setUnReportNum(List<BsQiye> list);

    /**
     * 查询企业经营数据
     */
    BsQiyeBusinessData queryById(Long id);

    /**
     * 查询企业经营数据列表
     */
    List<BsQiyeBusinessData> queryList(BsQiyeBusinessDataRO bo);

    /**
     * 新增企业经营数据
     */
    Boolean insertByBo(BsQiyeBusinessDataRO bo);

    /**
     * 修改企业经营数据
     */
    Boolean updateByBo(BsQiyeBusinessDataEditRO bo);

    /**
     * 校验并批量删除企业经营数据信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
